package org.fuys.coder.domain.act.activity.repository;

import org.fuys.coder.common.entity.Pair;
import org.fuys.coder.domain.act.activity.model.vo.CommonActSupportVO;
import org.fuys.coder.domain.act.activity.model.vo.CommonActVO;
import org.fuys.coder.common.entity.PageDTO;

import java.util.List;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.act.activity.repository
 * @className: ICommonActRepository
 * @author: WangJing
 * @description: 普通活动仓储服务接口
 * @date: 2024/8/25 22:37
 * @version: 1.0
 */
public interface ICommonActRepository {
    CommonActVO getById(Long id,Integer state);

    CommonActSupportVO getSupportById(Long actId);

    List<CommonActVO> getCurAct(int num);

    Pair<List<CommonActVO>,Long> getPage(PageDTO pageDTO);
}
